//TERRAIN SCRIPT TEMPLATE

beginterrainscript; 

variables;

body;

beginstate INIT_STATE;
//called when this terrain script is first created in the game
	run_town_script(10);
break;

beginstate START_STATE;
//called every turn
	end();
break;

beginstate SEARCH_STATE;
//called when the party searches this terrain
	
break;

beginstate BLOCK_MOVE_STATE;
//called when this terrain blocks the party's motion

break;

beginstate STEP_INTO_SPOT_STATE;
//called when the party steps on this terrain
	
break;

beginstate UNLOCK_SPELL_STATE;
//called when the party casts Unlock Doors on this terrain
	
break;

beginstate SANCTIFICATION_STATE;
//called when the party casts the Ritual of Sactification on this terrain

break;